/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.xeerkat.xmpp;

import java.util.List;

/**
 *
 * @author alex
 */
public class FormField {

   String label;
   String type;
   String var;
   String value;
   List<FormOption> options;

   public FormField(String var) {
      this.var = var;
      this.type = null;
      this.label = null;
      this.value = null;
      this.options = null;
   }

   /**
    * @return the label
    */
   public String getLabel() {
      return label;
   }

   /**
    * @param label the label to set
    */
   public void setLabel(String label) {
      this.label = label;
   }

   /**
    * @return the type
    */
   public String getType() {
      return type;
   }

   /**
    * @param type the type to set
    */
   public void setType(String type) {
      this.type = type;
   }

   /**
    * @return the var
    */
   public String getVar() {
      return var;
   }

   /**
    * @return the value
    */
   public String getValue() {
      return value;
   }

   /**
    * @param value the value to set
    */
   public void setValue(String value) {
      this.value = value;
   }

   /**
    * @return the options
    */
   public List<FormOption> getOptions() {
      return options;
   }

   /**
    * @param options the options to set
    */
   public void setOptions(List<FormOption> options) {
      this.options = options;
   }
}
